import { BasicColumn, FormSchema } from '@apps/antd-admin/src/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '姓名',
    dataIndex: 'receiveUserName',
    width: 120,
  },
  {
    title: '手机号',
    dataIndex: 'receivePhone',
    width: 120,
  },
  {
    title: '转赠时间',
    dataIndex: 'createTime',
    width: 120,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'receiveUserName',
    label: '姓名',
    component: 'Input',
    colProps: { span: 6 },
  },
  {
    field: 'receivePhone',
    label: '手机号',
    component: 'Input',
    colProps: { span: 6 },
  },
];
